package syntaxTree.formalList;

import syntaxTree.formalRest.*;
import syntaxTree.type.*;
import syntaxTree.id.*;

public class formalListApp extends formalList{
	formalRest fr;
	type t;
	id id;
	public formalListApp(type t,id id)
	{
		this.fr = new formalRestInit();
		this.t = t;
		this.id = id;
	}
	public formalListApp(type t, id id, formalRest fr)
	{
		this.fr = fr;
		this.t = t;
		this.id = id;
	}
	public String toString()
	{
		return (t.toString()+' '+id.toString()+' '+fr.toString());
	}
	
	public String toC()
	{
		return (clas.toC()+" *this, "+t.toC()+' '+id.toC()+' '+fr.toC());
	}
}

